package com.yc.supermarket.mapper;


import com.yc.supermarket.entity.Admin;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AdminMapper {
    int addmin(Admin admin);
    List<Admin> find(@Param("admin") Admin admin, @Param("pageNum") Integer pageNum, @Param("pageSize") Integer pageSize);
    int total(Admin admin);
    int updateStatus(Admin admin);
}
